﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DsKeKhaiVatDauRa" targetNamespace="http://tempuri.org/DsKeKhaiVatDauRa.xsd" xmlns:mstns="http://tempuri.org/DsKeKhaiVatDauRa.xsd" xmlns="http://tempuri.org/DsKeKhaiVatDauRa.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="Accounting3ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Accounting3ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.ReportTemplates.Properties.Settings.GlobalReference.Default.Accounting3ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="KhoanMucKeKhaiVatDauRaTableAdapter" GeneratorDataComponentClassName="KhoanMucKeKhaiVatDauRaTableAdapter" Name="KhoanMucKeKhaiVatDauRa" UserDataComponentName="KhoanMucKeKhaiVatDauRaTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Accounting3ConnectionString (Settings)" DbObjectName="Accounting3.dbo.Select_KhoanMucKeKhaiVatDauRaTT60" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.Select_KhoanMucKeKhaiVatDauRaTT60</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@NgayBatDau" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@NgayKetThuc" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ThueSuatID" DataSetColumn="ThueSuatID" />
              <Mapping SourceColumn="TenThueSuat" DataSetColumn="TenThueSuat" />
              <Mapping SourceColumn="KyHieuHoaDon" DataSetColumn="KyHieuHoaDon" />
              <Mapping SourceColumn="SoHoaDon" DataSetColumn="SoHoaDon" />
              <Mapping SourceColumn="NgayHoaDon" DataSetColumn="NgayHoaDon" />
              <Mapping SourceColumn="TenDoiTuong" DataSetColumn="TenDoiTuong" />
              <Mapping SourceColumn="MSTDoiTuong" DataSetColumn="MSTDoiTuong" />
              <Mapping SourceColumn="TenVatTuHangHoa" DataSetColumn="TenVatTuHangHoa" />
              <Mapping SourceColumn="DoanhSoChuaThue" DataSetColumn="DoanhSoChuaThue" />
              <Mapping SourceColumn="ThueSuat" DataSetColumn="ThueSuat" />
              <Mapping SourceColumn="ThueGTGT" DataSetColumn="ThueGTGT" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ThongTinDoanhNghiepTableAdapter" GeneratorDataComponentClassName="ThongTinDoanhNghiepTableAdapter" Name="ThongTinDoanhNghiep" UserDataComponentName="ThongTinDoanhNghiepTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Accounting3ConnectionString (Settings)" DbObjectName="Accounting3.dbo.Select_ThongTinDoanhNghiep2" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.Select_ThongTinDoanhNghiep2</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="TenDoanhNghiep" DataSetColumn="TenDoanhNghiep" />
              <Mapping SourceColumn="DiaChi" DataSetColumn="DiaChi" />
              <Mapping SourceColumn="MaSoThue" DataSetColumn="MaSoThue" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DsKeKhaiVatDauRa" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="DsKeKhaiVatDauRa" msprop:Generator_UserDSName="DsKeKhaiVatDauRa" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="KhoanMucKeKhaiVatDauRa" msprop:Generator_UserTableName="KhoanMucKeKhaiVatDauRa" msprop:Generator_RowDeletedName="KhoanMucKeKhaiVatDauRaRowDeleted" msprop:Generator_TableClassName="KhoanMucKeKhaiVatDauRaDataTable" msprop:Generator_RowChangedName="KhoanMucKeKhaiVatDauRaRowChanged" msprop:Generator_RowClassName="KhoanMucKeKhaiVatDauRaRow" msprop:Generator_RowChangingName="KhoanMucKeKhaiVatDauRaRowChanging" msprop:Generator_RowEvArgName="KhoanMucKeKhaiVatDauRaRowChangeEvent" msprop:Generator_RowEvHandlerName="KhoanMucKeKhaiVatDauRaRowChangeEventHandler" msprop:Generator_TablePropName="KhoanMucKeKhaiVatDauRa" msprop:Generator_TableVarName="tableKhoanMucKeKhaiVatDauRa" msprop:Generator_RowDeletingName="KhoanMucKeKhaiVatDauRaRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ThueSuatID" msprop:Generator_UserColumnName="ThueSuatID" msprop:Generator_ColumnPropNameInRow="ThueSuatID" msprop:Generator_ColumnVarNameInTable="columnThueSuatID" msprop:Generator_ColumnPropNameInTable="ThueSuatIDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TenThueSuat" msprop:Generator_UserColumnName="TenThueSuat" msprop:Generator_ColumnPropNameInRow="TenThueSuat" msprop:Generator_ColumnVarNameInTable="columnTenThueSuat" msprop:Generator_ColumnPropNameInTable="TenThueSuatColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="KyHieuHoaDon" msprop:Generator_UserColumnName="KyHieuHoaDon" msprop:Generator_ColumnPropNameInRow="KyHieuHoaDon" msprop:Generator_ColumnVarNameInTable="columnKyHieuHoaDon" msprop:Generator_ColumnPropNameInTable="KyHieuHoaDonColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SoHoaDon" msprop:Generator_UserColumnName="SoHoaDon" msprop:Generator_ColumnPropNameInRow="SoHoaDon" msprop:Generator_ColumnVarNameInTable="columnSoHoaDon" msprop:Generator_ColumnPropNameInTable="SoHoaDonColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="NgayHoaDon" msprop:Generator_UserColumnName="NgayHoaDon" msprop:Generator_ColumnPropNameInRow="NgayHoaDon" msprop:Generator_ColumnVarNameInTable="columnNgayHoaDon" msprop:Generator_ColumnPropNameInTable="NgayHoaDonColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="TenDoiTuong" msprop:Generator_UserColumnName="TenDoiTuong" msprop:Generator_ColumnPropNameInRow="TenDoiTuong" msprop:Generator_ColumnVarNameInTable="columnTenDoiTuong" msprop:Generator_ColumnPropNameInTable="TenDoiTuongColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MSTDoiTuong" msprop:Generator_UserColumnName="MSTDoiTuong" msprop:Generator_ColumnPropNameInRow="MSTDoiTuong" msprop:Generator_ColumnVarNameInTable="columnMSTDoiTuong" msprop:Generator_ColumnPropNameInTable="MSTDoiTuongColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TenVatTuHangHoa" msprop:Generator_UserColumnName="TenVatTuHangHoa" msprop:Generator_ColumnPropNameInRow="TenVatTuHangHoa" msprop:Generator_ColumnVarNameInTable="columnTenVatTuHangHoa" msprop:Generator_ColumnPropNameInTable="TenVatTuHangHoaColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DoanhSoChuaThue" msprop:Generator_UserColumnName="DoanhSoChuaThue" msprop:Generator_ColumnPropNameInRow="DoanhSoChuaThue" msprop:Generator_ColumnVarNameInTable="columnDoanhSoChuaThue" msprop:Generator_ColumnPropNameInTable="DoanhSoChuaThueColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ThueSuat" msdata:ReadOnly="true" msprop:Generator_UserColumnName="ThueSuat" msprop:Generator_ColumnPropNameInRow="ThueSuat" msprop:Generator_ColumnVarNameInTable="columnThueSuat" msprop:Generator_ColumnPropNameInTable="ThueSuatColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ThueGTGT" msprop:Generator_UserColumnName="ThueGTGT" msprop:Generator_ColumnPropNameInRow="ThueGTGT" msprop:Generator_ColumnVarNameInTable="columnThueGTGT" msprop:Generator_ColumnPropNameInTable="ThueGTGTColumn" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ThongTinDoanhNghiep" msprop:Generator_UserTableName="ThongTinDoanhNghiep" msprop:Generator_RowDeletedName="ThongTinDoanhNghiepRowDeleted" msprop:Generator_TableClassName="ThongTinDoanhNghiepDataTable" msprop:Generator_RowChangedName="ThongTinDoanhNghiepRowChanged" msprop:Generator_RowClassName="ThongTinDoanhNghiepRow" msprop:Generator_RowChangingName="ThongTinDoanhNghiepRowChanging" msprop:Generator_RowEvArgName="ThongTinDoanhNghiepRowChangeEvent" msprop:Generator_RowEvHandlerName="ThongTinDoanhNghiepRowChangeEventHandler" msprop:Generator_TablePropName="ThongTinDoanhNghiep" msprop:Generator_TableVarName="tableThongTinDoanhNghiep" msprop:Generator_RowDeletingName="ThongTinDoanhNghiepRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TenDoanhNghiep" msprop:Generator_UserColumnName="TenDoanhNghiep" msprop:Generator_ColumnPropNameInRow="TenDoanhNghiep" msprop:Generator_ColumnVarNameInTable="columnTenDoanhNghiep" msprop:Generator_ColumnPropNameInTable="TenDoanhNghiepColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="40" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DiaChi" msprop:Generator_UserColumnName="DiaChi" msprop:Generator_ColumnPropNameInRow="DiaChi" msprop:Generator_ColumnVarNameInTable="columnDiaChi" msprop:Generator_ColumnPropNameInTable="DiaChiColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="40" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MaSoThue" msprop:Generator_UserColumnName="MaSoThue" msprop:Generator_ColumnPropNameInRow="MaSoThue" msprop:Generator_ColumnVarNameInTable="columnMaSoThue" msprop:Generator_ColumnPropNameInTable="MaSoThueColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="40" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ChiTietKeKhaiVatDauRa" msprop:Generator_UserTableName="ChiTietKeKhaiVatDauRa" msprop:Generator_RowDeletedName="ChiTietKeKhaiVatDauRaRowDeleted" msprop:Generator_TableClassName="ChiTietKeKhaiVatDauRaDataTable" msprop:Generator_RowChangedName="ChiTietKeKhaiVatDauRaRowChanged" msprop:Generator_RowClassName="ChiTietKeKhaiVatDauRaRow" msprop:Generator_RowChangingName="ChiTietKeKhaiVatDauRaRowChanging" msprop:Generator_RowEvArgName="ChiTietKeKhaiVatDauRaRowChangeEvent" msprop:Generator_RowEvHandlerName="ChiTietKeKhaiVatDauRaRowChangeEventHandler" msprop:Generator_TablePropName="ChiTietKeKhaiVatDauRa" msprop:Generator_TableVarName="tableChiTietKeKhaiVatDauRa" msprop:Generator_RowDeletingName="ChiTietKeKhaiVatDauRaRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="KyBaoCao" msprop:Generator_UserColumnName="KyBaoCao" msprop:Generator_ColumnPropNameInRow="KyBaoCao" msprop:Generator_ColumnVarNameInTable="columnKyBaoCao" msprop:Generator_ColumnPropNameInTable="KyBaoCaoColumn" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>